package com.ruoyi.Healthgoals.mapper;

import java.util.List;
import com.ruoyi.Healthgoals.domain.HealthGoals;

/**
 * 用户目标Mapper接口
 * 
 * @author ruoyi
 * @date 2025-03-03
 */
public interface HealthGoalsMapper 
{
    /**
     * 查询用户目标
     * 
     * @param goalId 用户目标主键
     * @return 用户目标
     */
    public HealthGoals selectHealthGoalsByGoalId(Long goalId);

    /**
     * 查询用户目标列表
     * 
     * @param healthGoals 用户目标
     * @return 用户目标集合
     */
    public List<HealthGoals> selectHealthGoalsList(HealthGoals healthGoals);

    /**
     * 新增用户目标
     * 
     * @param healthGoals 用户目标
     * @return 结果
     */
    public int insertHealthGoals(HealthGoals healthGoals);

    /**
     * 修改用户目标
     * 
     * @param healthGoals 用户目标
     * @return 结果
     */
    public int updateHealthGoals(HealthGoals healthGoals);

    /**
     * 删除用户目标
     * 
     * @param goalId 用户目标主键
     * @return 结果
     */
    public int deleteHealthGoalsByGoalId(Long goalId);

    /**
     * 批量删除用户目标
     * 
     * @param goalIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHealthGoalsByGoalIds(Long[] goalIds);
}
